package org.cqu_proj.demo.dao;

import org.cqu_proj.demo.entity.MovieFeatures;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.mongodb.repository.Query;

import java.util.List;

public interface MovieFeaturesRepository extends MongoRepository<MovieFeatures, String> {

    // 查询指定 movieId 的电影特征

    MovieFeatures findByMovieId(int movieId);
    List<MovieFeatures> findAll();
}
